import me.xiaolei.andlog.impls.AndLog
import java.io.File
import java.util.Date

fun main(args: Array<String>)
{
    AndLog.diskLogConfig(true) {
        this.logDir = File("/Users/xiaolei/IdeaProjects/AndLog/src/logs")
    }
    AndLog.e("XIAOLEI", "XIAOLEI")
    AndLog.e("XIAOLEI", null)
    AndLog.e("XIAOLEI", Date())
    AndLog.e("XIAOLEI", Exception("hello 啊异常"))
    AndLog.i("XIAOLEI", "Hello，%d", 1)
    
    Thread.sleep(3000)
}